<ul>
	<% if not logged_in? -%>
	  <li><%= link_to_unless_current "Sign up", :controller => "account", :action => "signup" %></li>
		<li><%= link_to_unless_current "Forgot Password", :controller => "account", :action => "forgot_password" %></li>
		<li><%= link_to_unless_current "Login", :controller => "account", :action => "login" %></li>
	<% else -%>  

  	<li><%= link_to_unless_current "My Work List", :controller => "workitem", :action => "list" %></li>
		
		<% if current_user.is_seeker? %>     
		  <li><%= link_to_unless_current "Browse Grants", :controller => "cycle", :action => "list" %></li>
		<% end %>

		<li><%= link_to_unless_current "My Profile", :controller => "account", :action => "show", :id => current_user %>
		<li><%= link_to_unless_current "Logout", :controller => "account", :action => "logout" %>
</ul>
<br />
	
		<% if current_user.is_admin? %>
		<ul>

		  <li><%= link_to_unless_current "Application Forms", :controller => "form", :action => "list" %></li>
		  <li><%= link_to_unless_current "Grant Cycles", :controller => "cycle", :action => "list" %></li>
		  <li><%= link_to_unless_current "Submissions", :controller => "submission", :action => "list" %></li>
		  <li><%= link_to_unless_current "Users", :controller => "account", :action => "list" %></li>         
		  <li><%= link_to_unless_current "Sites", :controller => "site", :action => "list" %></li>
		  <li><%= link_to_unless_current "Report", :controller => "report", :action => "list" %></li> 	
		</ul>	
		<% elsif current_user.is_adminasst? -%> 
		<ul>
		  <li><%= link_to_unless_current "Submissions", :controller => "submission", :action => "list" %></li>
		  <li><%= link_to_unless_current "Report", :controller => "report", :action => "list" %></li> 	
		</ul>	
		
		<% end -%>

			
	<% end -%>
